#ifndef  __MCU_MISC_H
#define  __MCU_MISC_H

//-----------------------------------Macro--------------------------------------
//------------------------------------------------------------------------------

//----------------------------------Include-------------------------------------
#include "mcu.h"
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
void mcu_sys_clock(void);
void mcu_pri_grp_cfg(void);

void mcu_int_disable(void);
void mcu_int_enable(void);
void mcu_nop(void);
void mcu_reset(void);

uint32_t  mcu_getsysclk(void);
uint32_t  mcu_getclk_ahb(void);
uint32_t  mcu_getclk_apb1(void);
uint32_t  mcu_getclk_apb2(void);
uint32_t  mcu_getclk_apb1_tim(void);
uint32_t  mcu_getclk_apb2_tim(void);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------








